/*
 SGTutorialModeViewController.h
 Date Created: March 24, 2010
 
 Author: Karol Krizka <kkrizka@gmail.com>
 
 Copyright (C) 2010 Green-Power
 
 URL: http://code.google.com/p/green-power
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 $Id$
 */

#import <UIKit/UIKit.h>

#import "SGRecyclableType.h"

/**
 * Displays information about a specific item type, like where to drop it off
 * and so on.
 *
 * Also contains button for disabling tutorial mode, which is not handled
 * by this class at all.
 */
@interface SGTutorialModeViewController : UIViewController {
  UILabel *titleLabel;
  UITextView *descriptionLabel;

  UIImageView *typeImageView;
  UIImageView *binImageView;
  
  UIScrollView *alternateImagesView;
  
  UISwitch *tutorialModeSwitch;
  
  SGRecyclableType *type; // Type being displayed
}

@property (nonatomic,readonly) SGRecyclableType *type;

@property (nonatomic,readonly) IBOutlet UILabel *titleLabel;
@property (nonatomic,readonly) IBOutlet UITextView *descriptionLabel;
@property (nonatomic,readonly) IBOutlet UIImageView *typeImageView;
@property (nonatomic,readonly) IBOutlet UIImageView *binImageView;
@property (nonatomic,readonly) IBOutlet UIScrollView *alternateImagesView;
@property (nonatomic,readonly) IBOutlet UISwitch *tutorialModeSwitch;

/**
 * Initialize the view to show information of |type|
 *
 * \param type The recyclable type whose information used to populate fields
 */
- (SGTutorialModeViewController *)initWithType:(SGRecyclableType *)type;

/**
 * Hide the tutorial mode view, assuming it was shown as a modal dialog
 */
- (IBAction)hide:(id)sender;

@end
